package com.amigo.online.provider.user.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import com.amigo.online.common.core.mybatis.MyMapper;
import com.amigo.online.provider.user.model.entity.Black;

@Mapper
@Component
public interface BlackMapper extends MyMapper<Black> {


    List<Black> findBlackListById(@Param("userId") Long userId, @Param("tipoff") Long tipoff, @Param("size") Integer size);


    Black findById(@Param("id") Long id, @Param("userId") Long userId);


    Integer updateStatus(@Param("id") Long id, @Param("time") Long time, @Param("status") Integer status);


}
